package com.ship.common.core.utils;

import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.RedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer;

public class Constants {

    public static final RedisSerializer<Object> OBJECT_SERIALIZER = new GenericJackson2JsonRedisSerializer();
    public static final RedisSerializer<String> STRING_SERIALIZER = new StringRedisSerializer();
}
